def sum_nums(num):
    if num == 1:
        return 1
    temp = sum_nums(num - 1)
    return temp + num


result = sum_nums(100)
print(result)
